package boot.spring.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ExcelIgnoreUnannotated
public class TourisExportVo extends BaseImportVo {

    /**
     * 票型名称
     */
    @ExcelProperty(value = "票型名称",index = 0)
    @NotBlank(message = "票型名称不能为空")
    private String typeName;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名", index = 1)
    @NotBlank(message = "姓名不能为空")
    private String name;

    /**
     * 证件类型
     */
    @ExcelProperty(value = "证件类型",index = 2)
    @NotBlank(message = "证件类型不能为空")
    private String cardType;

    /**
     * 证件号码
     */
    @ExcelProperty(value = "证件号码", index = 3)
    @NotBlank(message = "证件号码不能为空")
    private String card;
}
